package com.example.design.strategy;

public class Context {
	private AbstractStrategy stractgy;

	public AbstractStrategy getStractgy() {
		return stractgy;
	}

	public void setStractgy(AbstractStrategy stractgy) {
		this.stractgy = stractgy;
	}
	
	public void algorithm() {
		System.out.println("stractgy in context---");
		stractgy.algorithm();
	}
} 

